home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / g_man / cat3 / ftn / tie.z / tie
Encoding:
Text File  |  2002-10-03  |  1.9 KB  |  67 lines

  1.  
  2.  
  3.  
  4. ttttiiiieeee((((3333GGGG))))                                                                ttttiiiieeee((((3333GGGG))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      ttttiiiieeee - ties two valuators to a button
  10.  
  11. FFFFOOOORRRRTTTTRRRRAAAANNNN 77777777 SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
  12.      ssssuuuubbbbrrrroooouuuuttttiiiinnnneeee ttttiiiieeee((((bbbb,,,, vvvv1111,,,, vvvv2222))))
  13.      iiiinnnntttteeeeggggeeeerrrr****4444 bbbb,,,, vvvv1111,,,, vvvv2222
  14.  
  15. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
  16.      _b    expects a button.
  17.  
  18.      _v_1   expects a valuator.
  19.  
  20.      _v_2   expects a valuator.
  21.  
  22. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  23.      ttttiiiieeee requires a button _b and two valuators _v_1 and _v_2.  When a queued
  24.      button changes state, three entries are made in the queue:  one records
  25.      the current state of the button and two record the current positions of
  26.      each valuator.  The valuators _v_1 and _v_2 need not be (and probably should
  27.      not be) queued.
  28.  
  29.      You can tie one valuator to a button by calling ttttiiiieeee with _v_2 set to
  30.      NULLDEV.  You can untie a button by calling ttttiiiieeee with both _v_1 and _v_2 set
  31.      to NULLDEV.  _v_1 appears before _v_2 in the event queue; _b precedes both _v_1
  32.      and _v_2.
  33.  
  34. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  35.      getbut
  36.  
  37. NNNNOOOOTTTTEEEESSSS
  38.      This routine is available only in immediate mode.
  39.  
  40.      The symbol NULLDEV is defined in <_g_l/_f_d_e_v_i_c_e._h>.
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.